
<div class="pageContent" layouth="1">
    <form action="{:U('config')}" id="j_mroleconfig" class="pageForm form-validate" method="post" callback="navTabAjaxDone" noEnter>
      
      <input type="hidden" name="id" value="{$info.id}" readonly/>
        <div class="pageFormContent form-horizontal">
       
        <h3></h3>
       <div class="form-group">
       <label class="control-label col-sm-2">允许评论：</label></td>
		<div class="col-sm-5">
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yescomment]" value="1" <if condition="$info['value']['yescomment'] eq 1">checked="checked"</if> >允许</label>
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yescomment]" value="2" <if condition="$info['value']['yescomment'] eq 2">checked="checked"</if> >不允许</label>
				  	
		<p class="help-block"></p>
                                      </div>
        </div>
			<div class="form-group">
			<label class="control-label col-sm-2">允许发布文章：</label></td>
			<div class="col-sm-5">
				 
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yesart]" value="1" <if condition="$info['value']['yesart'] eq 1">checked="checked"</if> >允许</label>
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yesart]" value="2" <if condition="$info['value']['yesart'] eq 2">checked="checked"</if> >不允许</label>
				  	
				 
			<p class="help-block"></p>
                                      </div>
        </div>
        <div class="form-group">
		<label class="control-label col-sm-2">发布后是否允许编辑：</label></td>
		<div class="col-sm-5">
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yesartedit]" value="1" <if condition="$info['value']['yesartedit'] eq 1">checked="checked"</if> >允许</label>
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yesartedit]" value="2" <if condition="$info['value']['yesartedit'] eq 2">checked="checked"</if> >不允许</label>
				  	
			<p class="help-block">可以在个人中心对文章进行编辑，默认允许</p>
                                      </div>
        </div>
        <div class="form-group">
		<label class="control-label col-sm-2">文章编辑时限：</label></td>
		<div class="col-sm-5">
					<input type="text" size="5" class="form-control validate[required,custom[integer]]" name="value[artedittime]" value="{$info['value']['artedittime']}">
			<p class="help-block">单位为分钟,负数或0为不限制</p>
                                      </div>
        </div>
		<div class="form-group">
		<label class="control-label col-sm-2">文章是否需要审核：</label></td>
		<div class="col-sm-5">
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yesshen]" value="1" <if condition="$info['value']['yesshen'] eq 1">checked="checked"</if> >需要</label>
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yesshen]" value="2" <if condition="$info['value']['yesshen'] eq 2">checked="checked"</if> >不需要</label>
				  	
			<p class="help-block">如不需要审核，发布后直接显示在前台</p>
                                      </div>
        </div>
		<div class="form-group">
		<label class="control-label col-sm-2">允许上传附件：</label></td>
		<div class="col-sm-5">
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yesfile]" value="1" <if condition="$info['value']['yesfile'] eq 1">checked="checked"</if> >允许</label>
					<label class="ilabel"><input type="radio" class="j-icheck"  name="value[yesfile]" value="2" <if condition="$info['value']['yesfile'] eq 2">checked="checked"</if> >不允许</label>
				  	
			<p class="help-block">指的是文章中上传图片等</p>
                                      </div>
        </div>
        <div class="form-group">
		<label class="control-label col-sm-2">附件大小限制：</label></td>
		<div class="col-sm-5">
					<input type="text" size="5" class="form-control validate[required,custom[integer]]" name="value[filesize]" value="{$info['value']['filesize']}">
			<p class="help-block">单位为K,1024K为1M,负数或0为不限制</p>
                                      </div>
        </div>
        <div class="form-group">
		<label class="control-label col-sm-2">附件类型限制：</label></td>
		<div class="col-sm-5">
					<input type="text" class="form-control" name="value[fileext]" value="{$info['value']['fileext']}">
			<p class="help-block">类型设置例如：jpg,gif格式之间用半角逗号","隔开</p>
                                      </div>
        </div>
         </div>       
 
		<div class="formBar">
            <ul>
                <li><button type="submit" class="btn btn-default btn-sm">保存</button></li>
                
                <li><button type="button" class="btn btn-close btn-sm ">取消</button></li>
            </ul>
		</div>
    </form>
</div>
